﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Jayden.Dll.Navigation.Core
{
	public abstract class CoreSegment
	{
		private List<Coordinate> m_Coordinates = new List<Coordinate>();

		public List<Coordinate> Coordinates { get { return m_Coordinates; } }
		public abstract List<CorePathInformation> Path { get; }

		public Coordinate FirstCoordinate { get { return m_Coordinates[0]; } }
		public Coordinate LastCoordinate { get { return m_Coordinates[m_Coordinates.Count - 1]; } }
	}
}
